package ${package.Service};

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import ${package.Entity}.${entity};

/**
* ${entity} 接口
* @Author wq
* @Date ${date}
**/
public interface ${table.serviceName} extends IService<${entity}> {

    /**
    * ${table.comment!} 分页列表
    * @param request request
    * @return IPage<${entity}>
    */
    IPage<${entity}> page(${entity}Request request);

    /**
    * ${table.comment!} 详情
    * @param id id
    * @return ${entity}
    */
    ${entity} detail(Integer id);


    /**
    * ${table.comment!} 新增
    * @param request request
    */
    void add(${entity}Request request);


    /**
    * ${table.comment!} 修改
    * @param request request
    */
    void update(${entity}Request request);

    /**
    * ${table.comment!} 删除
    * @param id id
    */
    void remove(Integer id);
}
